runtime.p.status (field)
35 uses
runtime (current package)
mgc.go#L1215: if pp.status == _Pidle {
mgcpacer.go#L720: if p.status != _Prunning {
preempt.go#L288: return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning
proc.go#L1581: gp.m.p.ptr().status = _Pgcstop // Pgcstop is only diagnostic.
proc.go#L1587: s := pp.status
proc.go#L1588: if s == _Psyscall && atomic.Cas(&pp.status, s, _Pgcstop) {
proc.go#L1608: pp.status = _Pgcstop
proc.go#L1645: if pp.status != _Pgcstop {
proc.go#L2108: s := p2.status
proc.go#L2113: if s == _Psyscall && p2.runSafePointFn == 1 && atomic.Cas(&p2.status, s, _Pidle) {
proc.go#L3079: pp.status = _Pgcstop
proc.go#L3232: pp.status = _Pgcstop
proc.go#L4523: atomic.Store(&pp.status, _Psyscall)
proc.go#L4570: if sched.stopwait > 0 && atomic.Cas(&pp.status, _Psyscall, _Pgcstop) {
proc.go#L4778: if oldp != nil && oldp.status == _Psyscall && atomic.Cas(&oldp.status, _Psyscall, _Pidle) {
proc.go#L5632: pp.status = _Pgcstop
proc.go#L5737: pp.status = _Pdead
proc.go#L5815: gp.m.p.ptr().status = _Prunning
proc.go#L5838: pp.status = _Pidle
proc.go#L5872: pp.status = _Pidle
proc.go#L5930: if pp.m != 0 || pp.status != _Pidle {
proc.go#L5938: print("wirep: p->m=", pp.m, "(", id, ") p->status=", pp.status, "\n")
proc.go#L5944: pp.status = _Prunning
proc.go#L5965: if pp.m.ptr() != gp.m || pp.status != _Prunning {
proc.go#L5966: print("releasep: m=", gp.m, " m->p=", gp.m.p.ptr(), " p->m=", hex(pp.m), " p->status=", pp.status, "\n")
proc.go#L5971: pp.status = _Pidle
proc.go#L6284: s := pp.status
proc.go#L6324: if atomic.Cas(&pp.status, s, _Pidle) {
proc.go#L6351: if pp.status != _Prunning {
proc.go#L6419: print(" P", i, ": status=", pp.status, " schedtick=", pp.schedtick, " syscalltick=", pp.syscalltick, " m=")
proc.go#L6962: if pp.status == _Prunning {
runtime2.go#L634: status uint32 // one of pidle/prunning/...
tracestatus.go#L89: switch pp.status {
tracestatus.go#L92: if pp.status == _Pgcstop && inSTW {